package com.example.neusoft.zyfypt_wk;

import android.content.Intent;
import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;
import android.widget.TextView;

public class MainActivity extends AppCompatActivity {

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_main);
        Intent intent=getIntent();
        String user=intent.getStringExtra("user");
        String pass=intent.getStringExtra("pass");
        TextView textView= (TextView) findViewById(R.id.textView);
        textView.setText(user+"\n"+pass);
    }
}
